package com.gzy.cbrsystem.shimian.action;

import com.gzy.cbrsystem.shimian.dao.ShimianBingzhen;
import com.gzy.cbrsystem.shimian.service.CaseReasoning;
import com.opensymphony.xwork2.ActionSupport;

public class DeleteShimianMjjyById extends ActionSupport {
	protected CaseReasoning caseReasoning;
	protected String zhuanjiaId;
	public CaseReasoning getCaseReasoning() {
		return caseReasoning;
	}
	public void setCaseReasoning(CaseReasoning caseReasoning) {
		this.caseReasoning = caseReasoning;
	}
	public String getZhuanjiaId() {
		return zhuanjiaId;
	}
	public void setZhuanjiaId(String zhuanjiaId) {
		this.zhuanjiaId = zhuanjiaId;
	}
	public String execute() throws Exception {
		boolean b=this.caseReasoning.deleteMjjy(this.zhuanjiaId);
		if(b==true)
		return SUCCESS;
		else return ERROR;
	}
}
